{%  extends 'base.html' %}
{% block title %}
	登录/注册
{% endblock %}

{% block style %}
    <style>
    .form-group{
        position: relative;
        {#left: 110px;#}
    }
    </style>
{% endblock %}
{% block content %}

   <form class="form-horizontal" role="form" method="post" action="/login/">
   {% csrf_token %}
  <div class="form-group ">
    <label for="firstname" class="col-sm-2 control-label">姓名</label>
    <div class="col-sm-5">
      <input type="text" class="form-control" id="firstname" name="name" placeholder="请输入姓名">
    </div>
  </div>
   <div class="form-group">
    <label for="firstname" class="col-sm-2 control-label" >电话号</label>
    <div class="col-sm-5">
      <input type="text" class="form-control" id="firstname" name="mobile" placeholder="请输入电话号">
    </div>
  </div>
     <div class="form-group">
    <label for="firstname" class="col-sm-2 control-label">密码</label>
    <div class="col-sm-5">
      <input type="password" class="form-control" id="firstname" name="password" placeholder="请输入密码">
    </div>
  </div>
     <div class="form-group">
    <label for="firstname" class="col-sm-2 control-label">验证码</label>
    <div class="col-sm-5">
      <input type="text" class="form-control" id="firstname" name="captcha" placeholder="请输入验证码">
    </div>
  </div>
  <div class="form-group">
    <div class="col-sm-offset-2 col-sm-10">
      <div class="checkbox">
        <label>
          <input type="checkbox">请记住我
        </label>
      </div>
    </div>
  </div>
  <div class="form-group">
    <div class="col-sm-offset-2 col-sm-10">
      <button type="submit" class="btn btn-success">登录</button>

        {{ notice }}
        <br>
       <span class="right"> 还未注册？<a href="/register/">点击这里</a></span>
    </div>
  </div>
</form>
{% endblock %}